package com.ymttest.database.sharding.db.sharding.model;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class UserRefundFundDetailExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public UserRefundFundDetailExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andOrderIdIsNull() {
            addCriterion("order_id is null");
            return (Criteria) this;
        }

        public Criteria andOrderIdIsNotNull() {
            addCriterion("order_id is not null");
            return (Criteria) this;
        }

        public Criteria andOrderIdEqualTo(Long value) {
            addCriterion("order_id =", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotEqualTo(Long value) {
            addCriterion("order_id <>", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThan(Long value) {
            addCriterion("order_id >", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThanOrEqualTo(Long value) {
            addCriterion("order_id >=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThan(Long value) {
            addCriterion("order_id <", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThanOrEqualTo(Long value) {
            addCriterion("order_id <=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdIn(List<Long> values) {
            addCriterion("order_id in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotIn(List<Long> values) {
            addCriterion("order_id not in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdBetween(Long value1, Long value2) {
            addCriterion("order_id between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotBetween(Long value1, Long value2) {
            addCriterion("order_id not between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andBizNoIsNull() {
            addCriterion("biz_no is null");
            return (Criteria) this;
        }

        public Criteria andBizNoIsNotNull() {
            addCriterion("biz_no is not null");
            return (Criteria) this;
        }

        public Criteria andBizNoEqualTo(String value) {
            addCriterion("biz_no =", value, "bizNo");
            return (Criteria) this;
        }

        public Criteria andBizNoNotEqualTo(String value) {
            addCriterion("biz_no <>", value, "bizNo");
            return (Criteria) this;
        }

        public Criteria andBizNoGreaterThan(String value) {
            addCriterion("biz_no >", value, "bizNo");
            return (Criteria) this;
        }

        public Criteria andBizNoGreaterThanOrEqualTo(String value) {
            addCriterion("biz_no >=", value, "bizNo");
            return (Criteria) this;
        }

        public Criteria andBizNoLessThan(String value) {
            addCriterion("biz_no <", value, "bizNo");
            return (Criteria) this;
        }

        public Criteria andBizNoLessThanOrEqualTo(String value) {
            addCriterion("biz_no <=", value, "bizNo");
            return (Criteria) this;
        }

        public Criteria andBizNoLike(String value) {
            addCriterion("biz_no like", value, "bizNo");
            return (Criteria) this;
        }

        public Criteria andBizNoNotLike(String value) {
            addCriterion("biz_no not like", value, "bizNo");
            return (Criteria) this;
        }

        public Criteria andBizNoIn(List<String> values) {
            addCriterion("biz_no in", values, "bizNo");
            return (Criteria) this;
        }

        public Criteria andBizNoNotIn(List<String> values) {
            addCriterion("biz_no not in", values, "bizNo");
            return (Criteria) this;
        }

        public Criteria andBizNoBetween(String value1, String value2) {
            addCriterion("biz_no between", value1, value2, "bizNo");
            return (Criteria) this;
        }

        public Criteria andBizNoNotBetween(String value1, String value2) {
            addCriterion("biz_no not between", value1, value2, "bizNo");
            return (Criteria) this;
        }

        public Criteria andBizTypeIsNull() {
            addCriterion("biz_type is null");
            return (Criteria) this;
        }

        public Criteria andBizTypeIsNotNull() {
            addCriterion("biz_type is not null");
            return (Criteria) this;
        }

        public Criteria andBizTypeEqualTo(Integer value) {
            addCriterion("biz_type =", value, "bizType");
            return (Criteria) this;
        }

        public Criteria andBizTypeNotEqualTo(Integer value) {
            addCriterion("biz_type <>", value, "bizType");
            return (Criteria) this;
        }

        public Criteria andBizTypeGreaterThan(Integer value) {
            addCriterion("biz_type >", value, "bizType");
            return (Criteria) this;
        }

        public Criteria andBizTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("biz_type >=", value, "bizType");
            return (Criteria) this;
        }

        public Criteria andBizTypeLessThan(Integer value) {
            addCriterion("biz_type <", value, "bizType");
            return (Criteria) this;
        }

        public Criteria andBizTypeLessThanOrEqualTo(Integer value) {
            addCriterion("biz_type <=", value, "bizType");
            return (Criteria) this;
        }

        public Criteria andBizTypeIn(List<Integer> values) {
            addCriterion("biz_type in", values, "bizType");
            return (Criteria) this;
        }

        public Criteria andBizTypeNotIn(List<Integer> values) {
            addCriterion("biz_type not in", values, "bizType");
            return (Criteria) this;
        }

        public Criteria andBizTypeBetween(Integer value1, Integer value2) {
            addCriterion("biz_type between", value1, value2, "bizType");
            return (Criteria) this;
        }

        public Criteria andBizTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("biz_type not between", value1, value2, "bizType");
            return (Criteria) this;
        }

        public Criteria andAccountAmountIsNull() {
            addCriterion("account_amount is null");
            return (Criteria) this;
        }

        public Criteria andAccountAmountIsNotNull() {
            addCriterion("account_amount is not null");
            return (Criteria) this;
        }

        public Criteria andAccountAmountEqualTo(BigDecimal value) {
            addCriterion("account_amount =", value, "accountAmount");
            return (Criteria) this;
        }

        public Criteria andAccountAmountNotEqualTo(BigDecimal value) {
            addCriterion("account_amount <>", value, "accountAmount");
            return (Criteria) this;
        }

        public Criteria andAccountAmountGreaterThan(BigDecimal value) {
            addCriterion("account_amount >", value, "accountAmount");
            return (Criteria) this;
        }

        public Criteria andAccountAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("account_amount >=", value, "accountAmount");
            return (Criteria) this;
        }

        public Criteria andAccountAmountLessThan(BigDecimal value) {
            addCriterion("account_amount <", value, "accountAmount");
            return (Criteria) this;
        }

        public Criteria andAccountAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("account_amount <=", value, "accountAmount");
            return (Criteria) this;
        }

        public Criteria andAccountAmountIn(List<BigDecimal> values) {
            addCriterion("account_amount in", values, "accountAmount");
            return (Criteria) this;
        }

        public Criteria andAccountAmountNotIn(List<BigDecimal> values) {
            addCriterion("account_amount not in", values, "accountAmount");
            return (Criteria) this;
        }

        public Criteria andAccountAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("account_amount between", value1, value2, "accountAmount");
            return (Criteria) this;
        }

        public Criteria andAccountAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("account_amount not between", value1, value2, "accountAmount");
            return (Criteria) this;
        }

        public Criteria andThirdpartyAmountIsNull() {
            addCriterion("thirdparty_amount is null");
            return (Criteria) this;
        }

        public Criteria andThirdpartyAmountIsNotNull() {
            addCriterion("thirdparty_amount is not null");
            return (Criteria) this;
        }

        public Criteria andThirdpartyAmountEqualTo(BigDecimal value) {
            addCriterion("thirdparty_amount =", value, "thirdpartyAmount");
            return (Criteria) this;
        }

        public Criteria andThirdpartyAmountNotEqualTo(BigDecimal value) {
            addCriterion("thirdparty_amount <>", value, "thirdpartyAmount");
            return (Criteria) this;
        }

        public Criteria andThirdpartyAmountGreaterThan(BigDecimal value) {
            addCriterion("thirdparty_amount >", value, "thirdpartyAmount");
            return (Criteria) this;
        }

        public Criteria andThirdpartyAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("thirdparty_amount >=", value, "thirdpartyAmount");
            return (Criteria) this;
        }

        public Criteria andThirdpartyAmountLessThan(BigDecimal value) {
            addCriterion("thirdparty_amount <", value, "thirdpartyAmount");
            return (Criteria) this;
        }

        public Criteria andThirdpartyAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("thirdparty_amount <=", value, "thirdpartyAmount");
            return (Criteria) this;
        }

        public Criteria andThirdpartyAmountIn(List<BigDecimal> values) {
            addCriterion("thirdparty_amount in", values, "thirdpartyAmount");
            return (Criteria) this;
        }

        public Criteria andThirdpartyAmountNotIn(List<BigDecimal> values) {
            addCriterion("thirdparty_amount not in", values, "thirdpartyAmount");
            return (Criteria) this;
        }

        public Criteria andThirdpartyAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("thirdparty_amount between", value1, value2, "thirdpartyAmount");
            return (Criteria) this;
        }

        public Criteria andThirdpartyAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("thirdparty_amount not between", value1, value2, "thirdpartyAmount");
            return (Criteria) this;
        }

        public Criteria andThirdpartyDiscountIsNull() {
            addCriterion("thirdparty_discount is null");
            return (Criteria) this;
        }

        public Criteria andThirdpartyDiscountIsNotNull() {
            addCriterion("thirdparty_discount is not null");
            return (Criteria) this;
        }

        public Criteria andThirdpartyDiscountEqualTo(BigDecimal value) {
            addCriterion("thirdparty_discount =", value, "thirdpartyDiscount");
            return (Criteria) this;
        }

        public Criteria andThirdpartyDiscountNotEqualTo(BigDecimal value) {
            addCriterion("thirdparty_discount <>", value, "thirdpartyDiscount");
            return (Criteria) this;
        }

        public Criteria andThirdpartyDiscountGreaterThan(BigDecimal value) {
            addCriterion("thirdparty_discount >", value, "thirdpartyDiscount");
            return (Criteria) this;
        }

        public Criteria andThirdpartyDiscountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("thirdparty_discount >=", value, "thirdpartyDiscount");
            return (Criteria) this;
        }

        public Criteria andThirdpartyDiscountLessThan(BigDecimal value) {
            addCriterion("thirdparty_discount <", value, "thirdpartyDiscount");
            return (Criteria) this;
        }

        public Criteria andThirdpartyDiscountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("thirdparty_discount <=", value, "thirdpartyDiscount");
            return (Criteria) this;
        }

        public Criteria andThirdpartyDiscountIn(List<BigDecimal> values) {
            addCriterion("thirdparty_discount in", values, "thirdpartyDiscount");
            return (Criteria) this;
        }

        public Criteria andThirdpartyDiscountNotIn(List<BigDecimal> values) {
            addCriterion("thirdparty_discount not in", values, "thirdpartyDiscount");
            return (Criteria) this;
        }

        public Criteria andThirdpartyDiscountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("thirdparty_discount between", value1, value2, "thirdpartyDiscount");
            return (Criteria) this;
        }

        public Criteria andThirdpartyDiscountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("thirdparty_discount not between", value1, value2, "thirdpartyDiscount");
            return (Criteria) this;
        }

        public Criteria andPaymentIdIsNull() {
            addCriterion("payment_id is null");
            return (Criteria) this;
        }

        public Criteria andPaymentIdIsNotNull() {
            addCriterion("payment_id is not null");
            return (Criteria) this;
        }

        public Criteria andPaymentIdEqualTo(Long value) {
            addCriterion("payment_id =", value, "paymentId");
            return (Criteria) this;
        }

        public Criteria andPaymentIdNotEqualTo(Long value) {
            addCriterion("payment_id <>", value, "paymentId");
            return (Criteria) this;
        }

        public Criteria andPaymentIdGreaterThan(Long value) {
            addCriterion("payment_id >", value, "paymentId");
            return (Criteria) this;
        }

        public Criteria andPaymentIdGreaterThanOrEqualTo(Long value) {
            addCriterion("payment_id >=", value, "paymentId");
            return (Criteria) this;
        }

        public Criteria andPaymentIdLessThan(Long value) {
            addCriterion("payment_id <", value, "paymentId");
            return (Criteria) this;
        }

        public Criteria andPaymentIdLessThanOrEqualTo(Long value) {
            addCriterion("payment_id <=", value, "paymentId");
            return (Criteria) this;
        }

        public Criteria andPaymentIdIn(List<Long> values) {
            addCriterion("payment_id in", values, "paymentId");
            return (Criteria) this;
        }

        public Criteria andPaymentIdNotIn(List<Long> values) {
            addCriterion("payment_id not in", values, "paymentId");
            return (Criteria) this;
        }

        public Criteria andPaymentIdBetween(Long value1, Long value2) {
            addCriterion("payment_id between", value1, value2, "paymentId");
            return (Criteria) this;
        }

        public Criteria andPaymentIdNotBetween(Long value1, Long value2) {
            addCriterion("payment_id not between", value1, value2, "paymentId");
            return (Criteria) this;
        }

        public Criteria andAccountRefundStatusIsNull() {
            addCriterion("account_refund_status is null");
            return (Criteria) this;
        }

        public Criteria andAccountRefundStatusIsNotNull() {
            addCriterion("account_refund_status is not null");
            return (Criteria) this;
        }

        public Criteria andAccountRefundStatusEqualTo(Integer value) {
            addCriterion("account_refund_status =", value, "accountRefundStatus");
            return (Criteria) this;
        }

        public Criteria andAccountRefundStatusNotEqualTo(Integer value) {
            addCriterion("account_refund_status <>", value, "accountRefundStatus");
            return (Criteria) this;
        }

        public Criteria andAccountRefundStatusGreaterThan(Integer value) {
            addCriterion("account_refund_status >", value, "accountRefundStatus");
            return (Criteria) this;
        }

        public Criteria andAccountRefundStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("account_refund_status >=", value, "accountRefundStatus");
            return (Criteria) this;
        }

        public Criteria andAccountRefundStatusLessThan(Integer value) {
            addCriterion("account_refund_status <", value, "accountRefundStatus");
            return (Criteria) this;
        }

        public Criteria andAccountRefundStatusLessThanOrEqualTo(Integer value) {
            addCriterion("account_refund_status <=", value, "accountRefundStatus");
            return (Criteria) this;
        }

        public Criteria andAccountRefundStatusIn(List<Integer> values) {
            addCriterion("account_refund_status in", values, "accountRefundStatus");
            return (Criteria) this;
        }

        public Criteria andAccountRefundStatusNotIn(List<Integer> values) {
            addCriterion("account_refund_status not in", values, "accountRefundStatus");
            return (Criteria) this;
        }

        public Criteria andAccountRefundStatusBetween(Integer value1, Integer value2) {
            addCriterion("account_refund_status between", value1, value2, "accountRefundStatus");
            return (Criteria) this;
        }

        public Criteria andAccountRefundStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("account_refund_status not between", value1, value2, "accountRefundStatus");
            return (Criteria) this;
        }

        public Criteria andThirdpartyRefundStatusIsNull() {
            addCriterion("thirdparty_refund_status is null");
            return (Criteria) this;
        }

        public Criteria andThirdpartyRefundStatusIsNotNull() {
            addCriterion("thirdparty_refund_status is not null");
            return (Criteria) this;
        }

        public Criteria andThirdpartyRefundStatusEqualTo(Integer value) {
            addCriterion("thirdparty_refund_status =", value, "thirdpartyRefundStatus");
            return (Criteria) this;
        }

        public Criteria andThirdpartyRefundStatusNotEqualTo(Integer value) {
            addCriterion("thirdparty_refund_status <>", value, "thirdpartyRefundStatus");
            return (Criteria) this;
        }

        public Criteria andThirdpartyRefundStatusGreaterThan(Integer value) {
            addCriterion("thirdparty_refund_status >", value, "thirdpartyRefundStatus");
            return (Criteria) this;
        }

        public Criteria andThirdpartyRefundStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("thirdparty_refund_status >=", value, "thirdpartyRefundStatus");
            return (Criteria) this;
        }

        public Criteria andThirdpartyRefundStatusLessThan(Integer value) {
            addCriterion("thirdparty_refund_status <", value, "thirdpartyRefundStatus");
            return (Criteria) this;
        }

        public Criteria andThirdpartyRefundStatusLessThanOrEqualTo(Integer value) {
            addCriterion("thirdparty_refund_status <=", value, "thirdpartyRefundStatus");
            return (Criteria) this;
        }

        public Criteria andThirdpartyRefundStatusIn(List<Integer> values) {
            addCriterion("thirdparty_refund_status in", values, "thirdpartyRefundStatus");
            return (Criteria) this;
        }

        public Criteria andThirdpartyRefundStatusNotIn(List<Integer> values) {
            addCriterion("thirdparty_refund_status not in", values, "thirdpartyRefundStatus");
            return (Criteria) this;
        }

        public Criteria andThirdpartyRefundStatusBetween(Integer value1, Integer value2) {
            addCriterion("thirdparty_refund_status between", value1, value2, "thirdpartyRefundStatus");
            return (Criteria) this;
        }

        public Criteria andThirdpartyRefundStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("thirdparty_refund_status not between", value1, value2, "thirdpartyRefundStatus");
            return (Criteria) this;
        }

        public Criteria andRetryTimesIsNull() {
            addCriterion("retry_times is null");
            return (Criteria) this;
        }

        public Criteria andRetryTimesIsNotNull() {
            addCriterion("retry_times is not null");
            return (Criteria) this;
        }

        public Criteria andRetryTimesEqualTo(Integer value) {
            addCriterion("retry_times =", value, "retryTimes");
            return (Criteria) this;
        }

        public Criteria andRetryTimesNotEqualTo(Integer value) {
            addCriterion("retry_times <>", value, "retryTimes");
            return (Criteria) this;
        }

        public Criteria andRetryTimesGreaterThan(Integer value) {
            addCriterion("retry_times >", value, "retryTimes");
            return (Criteria) this;
        }

        public Criteria andRetryTimesGreaterThanOrEqualTo(Integer value) {
            addCriterion("retry_times >=", value, "retryTimes");
            return (Criteria) this;
        }

        public Criteria andRetryTimesLessThan(Integer value) {
            addCriterion("retry_times <", value, "retryTimes");
            return (Criteria) this;
        }

        public Criteria andRetryTimesLessThanOrEqualTo(Integer value) {
            addCriterion("retry_times <=", value, "retryTimes");
            return (Criteria) this;
        }

        public Criteria andRetryTimesIn(List<Integer> values) {
            addCriterion("retry_times in", values, "retryTimes");
            return (Criteria) this;
        }

        public Criteria andRetryTimesNotIn(List<Integer> values) {
            addCriterion("retry_times not in", values, "retryTimes");
            return (Criteria) this;
        }

        public Criteria andRetryTimesBetween(Integer value1, Integer value2) {
            addCriterion("retry_times between", value1, value2, "retryTimes");
            return (Criteria) this;
        }

        public Criteria andRetryTimesNotBetween(Integer value1, Integer value2) {
            addCriterion("retry_times not between", value1, value2, "retryTimes");
            return (Criteria) this;
        }

        public Criteria andMemoIsNull() {
            addCriterion("memo is null");
            return (Criteria) this;
        }

        public Criteria andMemoIsNotNull() {
            addCriterion("memo is not null");
            return (Criteria) this;
        }

        public Criteria andMemoEqualTo(String value) {
            addCriterion("memo =", value, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoNotEqualTo(String value) {
            addCriterion("memo <>", value, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoGreaterThan(String value) {
            addCriterion("memo >", value, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoGreaterThanOrEqualTo(String value) {
            addCriterion("memo >=", value, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoLessThan(String value) {
            addCriterion("memo <", value, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoLessThanOrEqualTo(String value) {
            addCriterion("memo <=", value, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoLike(String value) {
            addCriterion("memo like", value, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoNotLike(String value) {
            addCriterion("memo not like", value, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoIn(List<String> values) {
            addCriterion("memo in", values, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoNotIn(List<String> values) {
            addCriterion("memo not in", values, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoBetween(String value1, String value2) {
            addCriterion("memo between", value1, value2, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoNotBetween(String value1, String value2) {
            addCriterion("memo not between", value1, value2, "memo");
            return (Criteria) this;
        }

        public Criteria andAccountRefundTimeIsNull() {
            addCriterion("account_refund_time is null");
            return (Criteria) this;
        }

        public Criteria andAccountRefundTimeIsNotNull() {
            addCriterion("account_refund_time is not null");
            return (Criteria) this;
        }

        public Criteria andAccountRefundTimeEqualTo(Date value) {
            addCriterion("account_refund_time =", value, "accountRefundTime");
            return (Criteria) this;
        }

        public Criteria andAccountRefundTimeNotEqualTo(Date value) {
            addCriterion("account_refund_time <>", value, "accountRefundTime");
            return (Criteria) this;
        }

        public Criteria andAccountRefundTimeGreaterThan(Date value) {
            addCriterion("account_refund_time >", value, "accountRefundTime");
            return (Criteria) this;
        }

        public Criteria andAccountRefundTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("account_refund_time >=", value, "accountRefundTime");
            return (Criteria) this;
        }

        public Criteria andAccountRefundTimeLessThan(Date value) {
            addCriterion("account_refund_time <", value, "accountRefundTime");
            return (Criteria) this;
        }

        public Criteria andAccountRefundTimeLessThanOrEqualTo(Date value) {
            addCriterion("account_refund_time <=", value, "accountRefundTime");
            return (Criteria) this;
        }

        public Criteria andAccountRefundTimeIn(List<Date> values) {
            addCriterion("account_refund_time in", values, "accountRefundTime");
            return (Criteria) this;
        }

        public Criteria andAccountRefundTimeNotIn(List<Date> values) {
            addCriterion("account_refund_time not in", values, "accountRefundTime");
            return (Criteria) this;
        }

        public Criteria andAccountRefundTimeBetween(Date value1, Date value2) {
            addCriterion("account_refund_time between", value1, value2, "accountRefundTime");
            return (Criteria) this;
        }

        public Criteria andAccountRefundTimeNotBetween(Date value1, Date value2) {
            addCriterion("account_refund_time not between", value1, value2, "accountRefundTime");
            return (Criteria) this;
        }

        public Criteria andThirdpartyRefundTimeIsNull() {
            addCriterion("thirdparty_refund_time is null");
            return (Criteria) this;
        }

        public Criteria andThirdpartyRefundTimeIsNotNull() {
            addCriterion("thirdparty_refund_time is not null");
            return (Criteria) this;
        }

        public Criteria andThirdpartyRefundTimeEqualTo(Date value) {
            addCriterion("thirdparty_refund_time =", value, "thirdpartyRefundTime");
            return (Criteria) this;
        }

        public Criteria andThirdpartyRefundTimeNotEqualTo(Date value) {
            addCriterion("thirdparty_refund_time <>", value, "thirdpartyRefundTime");
            return (Criteria) this;
        }

        public Criteria andThirdpartyRefundTimeGreaterThan(Date value) {
            addCriterion("thirdparty_refund_time >", value, "thirdpartyRefundTime");
            return (Criteria) this;
        }

        public Criteria andThirdpartyRefundTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("thirdparty_refund_time >=", value, "thirdpartyRefundTime");
            return (Criteria) this;
        }

        public Criteria andThirdpartyRefundTimeLessThan(Date value) {
            addCriterion("thirdparty_refund_time <", value, "thirdpartyRefundTime");
            return (Criteria) this;
        }

        public Criteria andThirdpartyRefundTimeLessThanOrEqualTo(Date value) {
            addCriterion("thirdparty_refund_time <=", value, "thirdpartyRefundTime");
            return (Criteria) this;
        }

        public Criteria andThirdpartyRefundTimeIn(List<Date> values) {
            addCriterion("thirdparty_refund_time in", values, "thirdpartyRefundTime");
            return (Criteria) this;
        }

        public Criteria andThirdpartyRefundTimeNotIn(List<Date> values) {
            addCriterion("thirdparty_refund_time not in", values, "thirdpartyRefundTime");
            return (Criteria) this;
        }

        public Criteria andThirdpartyRefundTimeBetween(Date value1, Date value2) {
            addCriterion("thirdparty_refund_time between", value1, value2, "thirdpartyRefundTime");
            return (Criteria) this;
        }

        public Criteria andThirdpartyRefundTimeNotBetween(Date value1, Date value2) {
            addCriterion("thirdparty_refund_time not between", value1, value2, "thirdpartyRefundTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeIsNull() {
            addCriterion("add_time is null");
            return (Criteria) this;
        }

        public Criteria andAddTimeIsNotNull() {
            addCriterion("add_time is not null");
            return (Criteria) this;
        }

        public Criteria andAddTimeEqualTo(Date value) {
            addCriterion("add_time =", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotEqualTo(Date value) {
            addCriterion("add_time <>", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeGreaterThan(Date value) {
            addCriterion("add_time >", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("add_time >=", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeLessThan(Date value) {
            addCriterion("add_time <", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeLessThanOrEqualTo(Date value) {
            addCriterion("add_time <=", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeIn(List<Date> values) {
            addCriterion("add_time in", values, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotIn(List<Date> values) {
            addCriterion("add_time not in", values, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeBetween(Date value1, Date value2) {
            addCriterion("add_time between", value1, value2, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotBetween(Date value1, Date value2) {
            addCriterion("add_time not between", value1, value2, "addTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}